package com.dime.basic.mapper;

import com.dime.basic.api.domain.DimeBasedisease;

import java.util.List;


/**
 * 疾病Mapper接口
 *
 * @author ruoyi
 * @date 2023-09-28
 */
public interface DimeBasediseaseMapper
{
    /**
     * 查询疾病
     *
     * @param id 疾病主键
     * @return 疾病
     */
    public DimeBasedisease selectDimeBasediseaseById(String id);

    /**
     * 查询疾病列表
     *
     * @param dimeBasedisease 疾病
     * @return 疾病集合
     */
    public List<DimeBasedisease> selectDimeBasediseaseList(DimeBasedisease dimeBasedisease);

    /**
     * 新增疾病
     *
     * @param dimeBasedisease 疾病
     * @return 结果
     */
    public int insertDimeBasedisease(DimeBasedisease dimeBasedisease);

    /**
     * 修改疾病
     *
     * @param dimeBasedisease 疾病
     * @return 结果
     */
    public int updateDimeBasedisease(DimeBasedisease dimeBasedisease);

    /**
     * 删除疾病
     *
     * @param id 疾病主键
     * @return 结果
     */
    public int deleteDimeBasediseaseById(String id);

    /**
     * 批量删除疾病
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDimeBasediseaseByIds(String[] ids);
}
